.text
.code32 // Assembly generates 32 bit machine instructions
.start32:
 mov $0x3f8, %dx // Output the character 'P' to the console serial port
 mov $'P', %al
 out %al, %dx
 
 hlt